package com.dongdongqiang.domain.sys;

import com.dongdongqiang.common.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;
import java.math.BigDecimal;


/**
* SysUser 实体类
* by ZZB 2017-09-15 21:22:41
*/
@Table(name = "sys_user")
public class SysUser extends BaseEntity {
    @Column(name = "username")
    private String username;
    @Column(name = "password")
    private String password;

    /*----------------------get set 方法----------------------*/

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {return password;}
    public void setPassword(String password){this.password = password == null ? null : password.trim();}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysUser{" +
        "id='" + getId() + '\'' + ',' + 
        "username='" + getUsername() + '\'' + ',' +
        "password='" + getPassword() + '\'' + ',' + 
        "creator='" + getCreator() + '\'' + ',' + 
        "createTime='" + getCreateTime() + '\'' + ',' + 
        "updater='" + getUpdater() + '\'' + ',' + 
        "updateTime='" + getUpdateTime() + '\'' + ',' + 
        "activate='" + getActivate() + '\'' + 
        '}';
    }
}
